package com.sve.Entity;

public class Ticket {
    private Integer ticketid;

    private Integer routeid;

    private Integer seat;

    private String ticketnumber;

    private String ticketdata;

    private Route route;
    
    public Route getRoute() {
		return route;
	}

	public void setRoute(Route route) {
		this.route = route;
	}

	public Integer getTicketid() {
        return ticketid;
    }

    public void setTicketid(Integer ticketid) {
        this.ticketid = ticketid;
    }

    public Integer getRouteid() {
        return routeid;
    }

    public void setRouteid(Integer routeid) {
        this.routeid = routeid;
    }

    public Integer getSeat() {
        return seat;
    }

    public void setSeat(Integer seat) {
        this.seat = seat;
    }

    public String getTicketnumber() {
        return ticketnumber;
    }

    public void setTicketnumber(String ticketnumber) {
        this.ticketnumber = ticketnumber == null ? null : ticketnumber.trim();
    }

    public String getTicketdata() {
        return ticketdata;
    }

    public void setTicketdata(String ticketdata) {
        this.ticketdata = ticketdata == null ? null : ticketdata.trim();
    }
}